from django.urls import path
from . import views

urlpatterns = [
    path('classes/<int:cid>/members/<int:sid>/', views.ClassesMembersViewSet.as_view({"delete": "delete_class_member"})),
    path('classes/members/', views.ClassesMembersViewSet.as_view({"get": "get_class_members"})),
    path('classes/latest/members/', views.ClassesMembersViewSet.as_view({"get": "get_class_members_latest"})),
    path('classes/<int:cid>/members/', views.ClassesMembersViewSet.as_view({"post": "add_class_members"})),
    path('members/classes/', views.ClassesMembersViewSet.as_view({"get": "get_member_classes"})),
]
